package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmOutsourcingContractDTO;
import com.xinsoft.entity.dto.ScmOutsourcingContractLineClose;
import com.xinsoft.entity.dto.ScmOutsourcingContractParam;
import com.xinsoft.entity.po.ScmOutsourcingContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmOutsourcingContractDetailVo;
import com.xinsoft.entity.vo.ScmOutsourcingContractPageVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_outsourcing_contract(委外合同)】的数据库操作Service
* @createDate 2023-08-29 16:23:20
*/
public interface ScmOutsourcingContractService extends IService<ScmOutsourcingContract> {

    IPage<ScmOutsourcingContractPageVo> findPageListByParam(ScmOutsourcingContractParam param);
    List<ScmOutsourcingContractPageVo> findListByParam(ScmOutsourcingContractParam param);

    Integer tempSave(ScmOutsourcingContractDTO dto);

    ScmOutsourcingContractDetailVo detail(Integer id);

    void del(List<Integer> ids);

    void close(List<Integer> ids);

    void reverseClose(List<Integer> ids);

    void lineClose(ScmOutsourcingContractLineClose dto);
}
